package com.example.neteasecloudmusic.ui.song_list_detail;


import com.example.neteasecloudmusic.bean.playListBean.PlayList;

import io.reactivex.rxjava3.core.Flowable;

public interface PlayContract {

    interface IPlayListPresenter {
        void getPlayList (String id);
    }

    interface IPlayListModel {
        Flowable<PlayList> getPlaylistData();
    }

    interface IPlayListView {

        void getPlayListSuccess (PlayList playList);

        void getPlayListFailure (Throwable throwable);

    }

}
